package com.wuzheng.wisgo.sanitation.cloud.service.transfer;

import com.wuzheng.wisgo.sanitation.cloud.model.transfer.param.TransferRouteAddParam;
import com.wuzheng.wisgo.sanitation.cloud.model.transfer.param.TransferRouteListParam;
import com.wuzheng.wisgo.sanitation.cloud.model.transfer.pojo.TransferRouteDTO;
import com.wuzheng.wisgo.sanitation.cloud.paraandgetutil.VehicleException;
import com.wuzheng.wisgo.sanitation.cloud.repository.entity.transfer.TransferRoute;
import com.wuzheng.wisgo.sanitation.framework.base.service.BaseService;

import java.util.List;

/**
 * @author：hoipang
 * @date：Created in 2019-12-06
 * @description：转运路线服务类
 * @modified By：
 * @version: 1.0
 */
public interface TransferRouteService extends BaseService<TransferRoute> {

    /**
     * 查询转运路线特定信息分页列表
     * @param transferRouteListParam
     * @return
     */
    List<TransferRouteDTO> pageTransferRouteDTOs(TransferRouteListParam transferRouteListParam);

    /**
     * 批量删除转运路线
     * @param list
     */
    void removeTransferRoutes(List<String> list);

    /**
     * 新增转运路线
     * @param  transferRouteAddParam
     */
    void addTransferRoutes(TransferRouteAddParam transferRouteAddParam) throws VehicleException;

    /**
     * 查询转运路线
     * @param  id
     */
    TransferRouteAddParam selectTransferRouteById(String id) throws VehicleException;
    /**
     * 修改转运路线
     * @param  transferRouteAddParam
     */
    void updateTransferRoutes(TransferRouteAddParam transferRouteAddParam) throws VehicleException;
}
